package cbacba.shared;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.PrimaryKey;

import com.google.gwt.user.client.rpc.IsSerializable;

@PersistenceCapable
public class CbaPage implements IsSerializable {
	@PrimaryKey
	private String urlEncoded;
	private long cbaCount = 0;

	public String getUrlEncoded() {
		return urlEncoded;
	}

	public void setUrlEncoded(String urlEncoded) {
		this.urlEncoded = urlEncoded;
	}

	public long getCbaCount() {
		return cbaCount;
	}

	public void setCbaCount(long cbaCount) {
		this.cbaCount = cbaCount;
	}

	public void increaseCount() {
		cbaCount++;
	}
}
